<script>
    layui.use(['layer'],function () {
        $("#getmap").click(function () {
            var city = $("input[name='name']").val()
            if(!city.length){
                layer.msg('请填写区域')
                return
            }

            // var uri = $("#uri").val();
            var url = '/admin/property/position/'+city
            layer.open({
                type: 2,
                title:'地图标记',
                content: [url, 'no'],
                area : ['100%','100%'],
                shade : 0.2,
                resize:true,
                iframeAuto:true
            });
        })
    })

</script>
